package com.think.archive.mapper;

import com.think.archive.model.InfoFile;
import com.think.archive.model.InfoFileExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InfoFileMapper {
    long countByExample(InfoFileExample example);

    int deleteByExample(InfoFileExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(InfoFile record);

    int insertSelective(InfoFile record);

    List<InfoFile> selectByExample(InfoFileExample example);

    InfoFile selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") InfoFile record, @Param("example") InfoFileExample example);

    int updateByExample(@Param("record") InfoFile record, @Param("example") InfoFileExample example);

    int updateByPrimaryKeySelective(InfoFile record);

    int updateByPrimaryKey(InfoFile record);

    InfoFile selectByGuid(String guid);
}